/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package circuit1;

/**
 *
 * @author Erik
 */
import java.awt.event.*;


class myWindowListener implements WindowListener {
      public void windowActivated(WindowEvent e) {
      }
      public void windowClosed(WindowEvent e) {
      }
      /**
       * Az ablak bezarasanak esemenye
       * @param e 
       */
      public void windowClosing(WindowEvent e) {
            e.getWindow().dispose(); 
            System.exit(0);
      }
      public void windowDeactivated(WindowEvent e) {
      }
      public void windowDeiconified(WindowEvent e) {
      }
      public void windowIconified(WindowEvent e) {
      }
      public void windowOpened(WindowEvent e) {
      }    
}
